import 'package:connectivity/connectivity.dart';


class NetworkUtils{
  ///获取网络类型
  static Future<ConnectivityResult> getNetworkType() async{
    //网络状态
    var connectivityResult =await (Connectivity().checkConnectivity());
    return connectivityResult;
  }
}